package com.ygqh.baby.po;

import java.util.Date;

import com.ygqh.baby.ao.AppType;
import com.ygqh.baby.ao.DataStatus;

public class YgUserAuths {
	private Long id;

	private Long userId;

	private Long platformId;

	private AppType appType;

	private String openId;

	private String unionId;

	private Boolean isRegister;

	private Date createTime;

	private String remark;

	private DataStatus status;

	public YgUserAuths(Long userId, Long platformId, AppType appType, String openId, String unionId, Boolean isRegister, Date createTime, String remark) {
		super();
		this.userId = userId;
		this.platformId = platformId;
		this.appType = appType;
		this.openId = openId;
		this.unionId = unionId;
		this.isRegister = isRegister;
		this.createTime = createTime;
		this.remark = remark;
	}

	public YgUserAuths() {
		super();
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getPlatformId() {
		return platformId;
	}

	public void setPlatformId(Long platformId) {
		this.platformId = platformId;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId == null ? null : openId.trim();
	}

	public String getUnionId() {
		return unionId;
	}

	public void setUnionId(String unionId) {
		this.unionId = unionId == null ? null : unionId.trim();
	}

	public Boolean getIsRegister() {
		return isRegister;
	}

	public void setIsRegister(Boolean isRegister) {
		this.isRegister = isRegister;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public AppType getAppType() {
		return appType;
	}

	public void setAppType(AppType appType) {
		this.appType = appType;
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

}